<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>更正后的左右转移</title>
  <script src="2.js"></script>
</head>
<body>
<select multiple id="left" class="list"
        style=" width: 100px;height: 200px;">
  <option>语文</option><!--selected-->
  <option>数学</option>
  <option>英语</option>
  <option>地理</option>
</select>
<input type="button" value=">" onclick="moveRight()">
<input type="button" value=">>" onclick="allRight()">
<input type="button" value="<" onclick="toLeft()">
<input type="button" value="<<" onclick="allLeft()">
<select multiple id="right" class="list"
        style=" width: 100px;height: 200px;">
</select>
</body>
</html>
